using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NCT.Framework;

namespace VISS.API.Users {

    public enum EUsePointBalanceActionType : short {
        Unknown = 0,
        BuyProperty = 1
    }

	public class UserPointBalanceEnt {

		#region Properties

		public long ID { get; set; }
		public string UserKey { get; set; }
		public string RefUserKey { get; set; }
        public EUsePointBalanceActionType Action { get; set; }
		public short PointUsed { get; set; }
		public short CoinUsed { get; set; }
		public DateTime DateCreated { get; set; }

		#endregion

		#region Constructors

		public UserPointBalanceEnt() {
			ID = 0;
			UserKey = string.Empty;
			RefUserKey = string.Empty;
			Action = EUsePointBalanceActionType.Unknown;
			PointUsed = 0;
			CoinUsed = 0;
			DateCreated = DateTimeUtils.MinValue;
		}

		#endregion
	}
}